package tests;

import static org.junit.Assert.assertNotNull;
import input.KeyboardInput;

import java.io.FileInputStream;
import java.io.IOException;

import map.Map;

import org.junit.Test;

public class MapTests {

	@Test
	public void loadMapTest() throws IOException {
		FileInputStream fileIS = new FileInputStream("C:\\Users\\monushka\\Desktop\\1.txt");
		Map map = Map.load(fileIS, new KeyboardInput());
		System.out.println(map.getCount());
		assertNotNull(map);
		assertNotNull(map.getQueue());
	}

}
